package com.idp.web.test.entity;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import com.idp.common.base.BaseEntity;

/**
 * 
 * 物流和仓库多对多实体类.
 * 
 * <pre>
 * 	历史记录：
 * 	2017-06-12 Amber
 * 	新建文件
 * </pre>
 * 
 * @author
 * 
 *         <pre>
 * SD
 * 	Amber
 * PG
 *	Amber
 * UT
 *
 * MA
 *         </pre>
 * 
 * @version $Rev$
 *
 *          <p/>
 *          $Id$
 *
 */
public class LogisticsHasWarehouse implements Serializable {

	private static final long serialVersionUID = 1L;

	/** logisticsId */
	private Integer logisticsId;
	/** warehouseId */
	private Integer warehouseId;
	/** id */
	private Integer id;

	private Warehouse warehouse;

	private Logistics logistics;

	/**
	 * 方法: 取得Integer
	 * 
	 * @return: Integer logisticsId
	 */
	public Integer getLogisticsId() {
		return this.logisticsId;
	}

	/**
	 * 方法: 设置Integer
	 * 
	 * @param: Integer
	 *             logisticsId
	 */
	public void setLogisticsId(Integer logisticsId) {
		this.logisticsId = logisticsId;
	}

	/**
	 * 方法: 取得Integer
	 * 
	 * @return: Integer warehouseId
	 */
	public Integer getWarehouseId() {
		return this.warehouseId;
	}

	/**
	 * 方法: 设置Integer
	 * 
	 * @param: Integer
	 *             warehouseId
	 */
	public void setWarehouseId(Integer warehouseId) {
		this.warehouseId = warehouseId;
	}

	/**
	 * 方法: 取得Integer
	 * 
	 * @return: Integer id
	 */
	public Integer getId() {
		return this.id;
	}

	/**
	 * 方法: 设置Integer
	 * 
	 * @param: Integer
	 *             id
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	public Warehouse getWarehouse() {
		return warehouse;
	}

	public void setWarehouse(Warehouse warehouse) {
		this.warehouse = warehouse;
	}

	public Logistics getLogistics() {
		return logistics;
	}

	public void setLogistics(Logistics logistics) {
		this.logistics = logistics;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "LogisticsHasWarehouse [logisticsId=" + logisticsId + ", warehouseId=" + warehouseId + ", id=" + id
				+ ", warehouse=" + warehouse + ", logistics=" + logistics + "]";
	}

}
